[gd_scene load_steps=6 format=3 uid="uid://dt35ejo4ldk64"]

[ext_resource type="Script" path="res://scenes/camera_rig.gd" id="1_353gh"]

[sub_resource type="CylinderMesh" id="CylinderMesh_70c38"]
top_radius = 0.0
bottom_radius = 0.2
height = 0.5

[sub_resource type="CapsuleMesh" id="CapsuleMesh_a7aui"]

[sub_resource type="PlaneMesh" id="PlaneMesh_ffcl3"]
size = Vector2(200, 200)

[sub_resource type="BoxShape3D" id="BoxShape3D_3fje5"]
size = Vector3(200, 0.2, 200)

[node name="camera_rig" type="Node3D"]
script = ExtResource("1_353gh")

[node name="camera_editor" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.71934, 0.694658, 0, -0.694658, 0.71934, 0, 60, 60)
current = true
fov = 15.0
near = 1.0
far = 5000.0

[node name="camera_game" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.71934, 0.694658, 0, -0.694658, 0.71934, 49.691, 45.4491, 63.2457)
fov = 15.0
near = 1.0
far = 5000.0

[node name="MeshInstance3D" type="MeshInstance3D" parent="camera_game"]
transform = Transform3D(1, 0, 0, 0, -8.9407e-08, 1, 0, -1, -8.9407e-08, 0, 9.53674e-07, 0.510487)
visible = false
mesh = SubResource("CylinderMesh_70c38")

[node name="pivot_editor" type="Marker3D" parent="."]

[node name="pivot_editor2" type="Marker3D" parent="pivot_editor"]

[node name="lens" type="Marker3D" parent="pivot_editor/pivot_editor2"]
transform = Transform3D(1, 0, 0, 0, 0.71934, 0.694658, 0, -0.694658, 0.71934, 0, 60, 60)

[node name="mesh_editor" type="MeshInstance3D" parent="pivot_editor/pivot_editor2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.35761, 0)
visible = false
mesh = SubResource("CapsuleMesh_a7aui")
skeleton = NodePath("../../..")

[node name="pivot_game" type="Marker3D" parent="."]

[node name="pivot_game2" type="Marker3D" parent="pivot_game"]

[node name="lens" type="Marker3D" parent="pivot_game/pivot_game2"]
transform = Transform3D(1, 0, 0, 0, 0.71934, 0.694658, 0, -0.694658, 0.71934, 0, 60, 60)

[node name="mesh_game" type="MeshInstance3D" parent="pivot_game/pivot_game2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.35761, 0)
visible = false
mesh = SubResource("CapsuleMesh_a7aui")
skeleton = NodePath("../../..")

[node name="select_plane" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 72.4085, 0, 46.791)
visible = false
mesh = SubResource("PlaneMesh_ffcl3")
skeleton = NodePath("../pivot_editor")

[node name="LayerDetect" type="StaticBody3D" parent="select_plane"]
collision_layer = 2048
collision_mask = 0

[node name="CollisionShape3D" type="CollisionShape3D" parent="select_plane/LayerDetect"]
shape = SubResource("BoxShape3D_3fje5")
